home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Add-Ons / MPW / MPW cawf 4.0.9 / regexp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-01  |  551 b   |  18 lines  |  [TEXT/KAHL]

  1. /*
  2.  * Definitions etc. for regexp(3) routines.
  3.  *
  4.  * Caveat:  this is V8 regexp(3) [actually, a reimplementation thereof],
  5.  * not the System V one.
  6.  */
  7. #define NSUBEXP  10
  8. typedef struct regexp {
  9.     unsigned char *startp[NSUBEXP];
  10.     unsigned char *endp[NSUBEXP];
  11.     unsigned char regstart;        /* Internal use only. */
  12.     unsigned char reganch;        /* Internal use only. */
  13.     unsigned char *regmust;        /* Internal use only. */
  14.     unsigned char regmlen;        /* Internal use only. */
  15.     unsigned char program[1];    /* Unwarranted chumminess with
  16.                      * compiler. */
  17. } regexp;
  18.